package com.e3.sysmg.config.service;

import java.util.List;

import com.e3.core.base.ModelCacheManager;
import com.e3.sysmg.config.model.ParameterModel;

public class ParameterCacheManager extends ModelCacheManager<ParameterModel>{
	
	public final static String PARAMETER_CACHE = "PARAMETER_CACHE";
	
	public static ParameterCacheManager INSTANCE = new ParameterCacheManager();
	
	public void put(ParameterModel model){
		putModel(PARAMETER_CACHE, model);
	}

	public ParameterModel get(Long id) {
		return getModel(PARAMETER_CACHE, id);
	}
	
	public void remove(List<Long> ids){
		removeModels(PARAMETER_CACHE,ids);
	}

}
